% GAUTIER LE BIHAN - 2020
% Replication files for "Shocks vs Menu Costs: Patterns of Price Rigidity in an Estimated Multi-Sector Menu-Cost Model?" Review of Economics and Statistics
%
% This code produces Table 5B
clear;
tic

cd ..\..\IRF\VC_mutisector_range_he
tt=5;
load st_sector1;

for ii=3:-1:1
    stat=st_sector1(ii).st_sector1;
       for jj=1:4
        nbs=jj*4+1;
        kur=stat(jj,nbs*4+1:nbs*5)
        f=stat(jj,1:nbs)
        x=kur./f
        kf_moy(jj)=mean(x')
       end

mon_indic=[kf_moy]';
kfmoy=2.4471/0.0838
ampli=kf_moy./kfmoy;

mon_indic=[kf_moy;ampli]';
indic2(ii).indic2=mon_indic;




end